package com.wg.msorderds.Maaper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wg.msorderds.entity.OrderDetails;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface OrderDetailsMapper extends BaseMapper<OrderDetails> {
    @Select("SELECT * FROM orderdetails WHERE order_id = #{orderId}")
    List<OrderDetails> selectByOrderId(Integer orderId);
}
